From: Florian Eckert Date: Fri, 7 Jun 2024 08:22:32 +0000 (+0200) Subject: luci-mod-network: replace button tag with div tag X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=e45ad10eb7e9fa1fd35154a417b647199a05cf51;p=project%2Fluci.git luci-mod-network: replace button tag with div tag Signed-off-by: Florian Eckert --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 1bdaf741cd..a7dcfbb658 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -176,7 +176,7 @@ function iface_updown(up, id, ev, force) { ui.showModal(_('Confirm disconnect'), [ E('p', _('You appear to be currently connected to the device via the "%h" interface. Do you really want to shut down the interface?').format(id)), E('div', { 'class': 'right' }, [ - E('button', { + E('div', { 'class': 'btn cbi-button cbi-button-neutral', 'click': function(ev) { btns[1].classList.remove('spinning'); @@ -187,7 +187,7 @@ function iface_updown(up, id, ev, force) { } }, _('Cancel')), ' ', - E('button', { + E('div', { 'class': 'btn cbi-button cbi-button-negative important', 'click': function(ev) { dsc.setAttribute('disconnect', '');